Any Chat Completions

AICompletion
10 stars
Custom
Free and open-source (Note: Individual AI APIs have their own pricing)
12/5/2024

About

Transform your AI interactions with this versatile Model Context Protocol server that unifies access to multiple chat completion APIs. This innovative implementation provides a single, consistent interface for interacting with various AI models from different providers, enabling seamless switching between language models while maintaining a standardized integration layer for your applications.

Setup Instructions

Clone the repository:

bashCopygit clone https://github.com/pyroprompts/any-chat-completions-mcp.git

Navigate to project directory:

bashCopycd any-chat-completions-mcp

Install dependencies:

bashCopynpm install

Configure API Keys:

Set up keys for desired AI providers
Configure model preferences
Set up authentication


Environment setup:

Create .env file
Add API keys for different providers:
CopyOPENAI_API_KEY=your_key_here
ANTHROPIC_API_KEY=your_key_here



Run the server:

bashCopynpm start
Note: Requires API keys for the language models you plan to use

Contributors

Discussion

Please sign in to join the discussion